.alert-component {
  position: fixed;
  width: 50%;
  left: 50%;
  top: 80px;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  transition: all .3s;
  transform: scaleY(0) translate(-50%, -100%);
  transform-origin: top;
  &.show {
    transform: scaleY(1) translate(-50%, 0);
  }
  @include mobile {
    width: 90%;
  }
}
